package com.firebird.app.fekpsl.mvp.common

import com.firebird.app.fekpsl.base.IModel
import com.firebird.app.fekpsl.base.IPresenter
import com.firebird.app.fekpsl.base.IView

/**
 * Created by firebird on 2018/6/10.
 */
interface CommonContract {

    interface View : IView {

      //  fun showCollectSuccess(success: Boolean)

       // fun showCancelCollectSuccess(success: Boolean)
    }

    interface Presenter<in V : View> : IPresenter<V> {

      //  fun addCollectArticle(id: Int)

      //  fun cancelCollectArticle(id: Int)

    }

    interface Model : IModel {

      //  fun addCollectArticle(id: Int): Observable<HttpResult<Any>>

      //  fun cancelCollectArticle(id: Int): Observable<HttpResult<Any>>

    }

}